package com.xunqi.mall.form;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @Description:
 * @Created with IntelliJ IDEA.
 * @author: 夏沫止水
 * @create: 2020-04-24 15:04
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ShippingAddForm {

    /**
     * 收货姓名
     */
    @NotBlank(message = "收货姓名不能为空")
    private String receiverName;
    /**
     * 收货固定电话
     */
    @NotBlank(message = "收货固定电话不能为空")
    private String receiverPhone;
    /**
     * 收货移动电话
     */
    @NotBlank(message = "收货移动电话不能为空")
    private String receiverMobile;
    /**
     * 省份
     */
    @NotBlank(message = "省份不能为空")
    private String receiverProvince;
    /**
     * 城市
     */
    @NotBlank(message = "城市不能为空")
    private String receiverCity;
    /**
     * 区/县
     */
    @NotBlank(message = "区/县不能为空")
    private String receiverDistrict;
    /**
     * 详细地址
     */
    @NotBlank(message = "详细地址不能为空")
    private String receiverAddress;
    /**
     * 邮编
     */
    @NotBlank(message = "邮编不能为空")
    private String receiverZip;

}
